package com.company.bkst.service;

import java.util.ArrayList;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

import com.company.bkst.*;
import com.company.bkst.service.request.BookRequest;
import com.company.bkst.service.request.OrderRequest;

@WebService
public interface OrderServiceSEI {	
	
	@WebResult(targetNamespace="", name="Order")
	public Order getOrderByID(@WebParam(name = "OrderRequest") OrderRequest orderRequest);
	
	@WebResult(targetNamespace="", name="Order")
	public ArrayList<Order> getAllOrders();
	
	@WebResult(targetNamespace="", name="Order")
	public Boolean createOrder(@WebParam(name = "OrderRequest") OrderRequest orderRequest);
	
	@WebResult(targetNamespace="", name="Book")
	public Book getBook(@WebParam(name = "BookRequest") BookRequest bookRequest);
	
	
}
